﻿<%@ Page Language="C#" MasterPageFile="~/QuocTeViet.Master" AutoEventWireup="true"
    CodeBehind="Product.aspx.cs" Inherits="QuocTeViet.Product" Title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/Module/ucTag.ascx" TagName="ucTag" TagPrefix="uc1" %>
<%@ Register Src="~/Module/ucDanhMuc.ascx" TagName="ucDanhMuc" TagPrefix="uc2" %>
<%@ Register Src="~/Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc3" %>
<%@ Register Src="~/Module/ucSuuTap.ascx" TagName="ucSuuTap" TagPrefix="uc4" %>
<%@ Register Src="~/Module/ucImageLeft.ascx" TagName="ucImageLeft" TagPrefix="uc5" %>
<%@ Register Src="Module/ucHoTroTrucTuyen.ascx" TagName="ucHoTroTrucTuyen" TagPrefix="uc6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="under-left">
        <uc2:ucDanhMuc ID="ucDanhMuc" runat="server" />
        <uc4:ucSuuTap ID="ucSuuTap1" runat="server" />
        <uc6:ucHoTroTrucTuyen ID="ucHoTroTrucTuyen1" runat="server" />
    </div>
    <div class="under-right">
        <uc3:ucBreadcrumb ID="ucBreadcrumb" runat="server"></uc3:ucBreadcrumb>
        <div id="dProductDetail">
            <div class="ProPics">
                <div class="product-images">
                    <asp:HyperLink ID="hplImg" CssClass="fackybox" runat="server">
                        <asp:Image ID="imgContent" runat="server" />
                    </asp:HyperLink>
                </div>
                <div class="jcaro">
                    <ul id="mycarousel" class="jcarousel-skin-tango">
                        <asp:Repeater ID="rpt2" runat="server">
                            <ItemTemplate>
                                <li><a class="fackybox" rel="groupsp" href="/Media/<%#Eval("ImgFile") %>" title="<%#Eval("Title") %>">
                                    <img src="/Media/<%#Eval("ImgFile") %>" title="<%#Eval("Title") %>" alt='<%#Eval("Title") %>'>
                                </a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <div disabled="disabled" class="jcarousel-prev jcarousel-prev-disabled">
                    </div>
                    <div class="jcarousel-next">
                    </div>
                </div>
            </div>
            <div class="product-detail-content">
                <div id="product-detail-title">
                    <h3 class="h3pDetail">
                        <asp:Label runat="server" Text="" ID="lblTenSP"></asp:Label></h3>
                    <div class="hr-border">
                    </div>
                    <div class="product-detail-row">
                        <div class="l-pro-det-row">
                            <asp:Literal ID="Literal9" runat="server" Text="Mã sản phẩm"></asp:Literal>:
                        </div>
                        <div class="r-pro-det-row">
                            <asp:Label runat="server" Text="" ID="lblMaSP"> </asp:Label></div>
                    </div>
                    <div class="product-detail-row">
                        <div class="l-pro-det-row">
                            <asp:Literal ID="Literal1" runat="server" Text="Loại xe"></asp:Literal>:
                        </div>
                        <div class="r-pro-det-row">
                            <asp:HyperLink runat="server" Text="" ID="hplLoaiSP" CssClass="hpl"></asp:HyperLink>
                            <%--<asp:Label runat="server" Text="" ID="lblLoaiSP"> </asp:Label>--%>
                        </div>
                    </div>
                    <div class="product-detail-row">
                        <div class="l-pro-det-row">
                            <asp:Literal ID="Literal7" runat="server" Text="Hãng sản xuất"></asp:Literal>:
                        </div>
                        <div class="r-pro-det-row">
                            <asp:HyperLink runat="server" Text="" ID="hplNhanHieu" CssClass="hpl"></asp:HyperLink>
                        </div>
                    </div>
                    <div class="product-detail-row" style="display: none;">
                        <div class="l-pro-det-row">
                            <asp:Literal ID="Literal4" runat="server" Text="Đơn vị tính"></asp:Literal>:
                        </div>
                        <div class="r-pro-det-row">
                            <asp:Label runat="server" Text="" ID="lbDonVi"> </asp:Label></div>
                    </div>
                    <div class="product-detail-row">
                        <div class="l-pro-det-row">
                            <asp:Literal ID="Literal5" runat="server" Text="Từ khóa"></asp:Literal>:</div>
                        <div class="r-pro-det-row product-detail-keyword">
                            <uc1:ucTag ID="ucTag1" runat="server" />
                        </div>
                    </div>
                    <div class="hr-border">
                    </div>
                    <div class="product-detail-row">
                        <div class="l-pro-det-row">
                            <asp:Literal ID="Literal2" runat="server" Text="Đơn giá"></asp:Literal>:
                        </div>
                        <div class="r-pro-det-row product-detail-price">
                            <a href="/lien-he.aspx"><span style="color: Red">Vui lòng liên hệ:0903 251.288 -  0902.626.223</span></a>
                            <asp:Label runat="server" Visible="false" Text="" ID="lblDonGia"> </asp:Label></div>
                    </div>
                    <div class="product-detail-row">
                        <div class="l-pro-det-row">
                            <asp:Literal ID="Literal3" Visible="false" runat="server" Text="Giảm giá"></asp:Literal></div>
                        <div class="r-pro-det-row product-detail-price">
                            <asp:Label runat="server" Visible="false" Text="" ID="lblGiamGia"> </asp:Label></div>
                    </div>
                    <div class="product-detail-row" style="height: 30px;">
                        <div class="l-pro-det-row" style="width: 120px; margin-top: 7px;">
                            <asp:ImageButton runat="server" ImageUrl="~/image/addtocart.png" ID="lbtnAddToCart"
                                Visible="false" Width="120px" OnClick="lbtnAddToCart_Click" />
                        </div>
                        <div class="r-pro-det-row product-detail-price" style="float: right; text-align: right;">
                            <iframe runat="server" id="abc" scrolling="no" frameborder="0" style="margin-top: 12px;
                                border: none; width: 75px; height: 20px;" allowtransparency="true"></iframe>
                            <asp:HyperLink runat="server" Visible="true" Target="_blank" ID="hplFacebook" NavigateUrl="http://www.facebook.com/sharer.php?u="><img alt="Chia sẻ thông tin này lên Facebook" src="/image/facebook.png" /></asp:HyperLink>
                            <asp:HyperLink runat="server" Visible="true" Target="_blank" ID="hplGoogle" NavigateUrl="https://plusone.google.com/_/+1/confirm?hl=en&url="><img alt="Chia sẻ lên Google Plus" src="/image/google.png" /></asp:HyperLink>
                            <asp:HyperLink runat="server" Visible="true" Target="_blank" ID="hplTwitter" NavigateUrl="http://twitter.com/home/?status="><img alt="Chia sẻ thông tin này lên Twitter" src="/image/twitter.png" /></asp:HyperLink>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="product-detail-tabcontainer">
            <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" CssClass="MyTabStyle">
                <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Mô tả chi tiết">
                    <ContentTemplate>
                        <asp:Label runat="server" ID="lblThongTinChiTiet" Text=""></asp:Label>
                    </ContentTemplate>
                </cc1:TabPanel>
                <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Đánh giá người dùng">
                    <ContentTemplate>
                        <div class="fb-comments" id="fbcm" runat="server" data-num-posts="10" data-width="700">
                        </div>
                    </ContentTemplate>
                </cc1:TabPanel>
                <cc1:TabPanel ID="TabPanel3" runat="server" HeaderText="Chế độ bảo hành">
                    <ContentTemplate>
                        <asp:Label runat="server" ID="lblBaoHanh" Text=""></asp:Label>
                    </ContentTemplate>
                </cc1:TabPanel>
            </cc1:TabContainer>
            <br />
        </div>
        <div id="dRelevantProduct">
            <h3 class="h3Detail" style="font: 14px;">
                <asp:Literal ID="Literal6" runat="server" Text="Sản phẩm cùng chủng loại"></asp:Literal>
            </h3>
            <div class="Other-Product">
                <ul class="ulxebanchay ProductChiTiet">
                    <asp:Repeater runat="server" ID="rptXeBanChay">
                        <ItemTemplate>
                            <li>
                                <div class="imgXeBanChay-outer">
                                    <div class="imgXeBanChay-inter">
                                        <a href='/san-pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>' title='<%#Eval("TenSanPham") %>'>
                                            <img alt="QuocTeViet-Xebanchay" class="xebanchay-img" src='/Media/<%#Eval("HinhAnh")%>' />
                                        </a>
                                    </div>
                                    <div id="btn-chitiet" class="btn-chitiet">
                                        <a href='/san-pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>' title="Xem chi tiết">
                                            Xem Chi Tiết >></a></div>
                                </div>
                                <div class="xebanchay-text">
                                    <div class="div-description">
                                        <a class="title-xebanchay" href='/san-pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>'
                                            title='<%#Eval("TenSanPham") %>'>
                                            <%#WordCutTitle(Eval("TenSanPham").ToString()) %></a> <a class="mota-xebanchay" href='/Product/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>'>
                                                <%#WordCut(Eval("MoTa").ToString())%></a>
                                    </div>
                                    <div class="p-description">
                                        <span class="price-span"></span> <a style="float: right;" class="gia-xebanchay"
                                            href='/san-pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>'
                                            title='<%#Eval("TenSanPham") %>'>
                                            Vui lòng liên hệ: 0903 251 288</a>
                                    </div>
                                </div>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
        </div>
        <div style="width: 100%; float: left; margin-top: 10px;">
            <div style="float: left;">
                <asp:ImageButton ID="cmdPrev" Visible="false" OnClick="cmdPrev_Click" runat="server"
                    ImageUrl="/image/prevpage.png" /></div>
            <div style="float: right;">
                <asp:ImageButton ID="cmdNext" Visible="false" OnClick="cmdNext_Click" runat="server"
                    ImageUrl="/image/nextpage.png" /></div>
        </div>
    </div>
</asp:Content>
